import api from '@/service/request.ts'

// 登录。
export function reqAccountLogin(account) {
	return api.post('/auth/login', {
		loginData: {
			password: account.password,
			user: account.username
		}
	})
}

// 退出登录。
export function reqAccountLogout() {
	return api.get('/auth/logout')
}
